<!DOCTYPE html>
<html>
    <head>
        <style>
            table {
                width:95%;
                border:1px solid black;
            }
        th, td {border:none;
            padding:0in 6pt 0in 6pt;
        }
        </style>
        </head>
    <body>
 <center><table>
 <caption><h1> Listing of units in the program thresh </h1></caption>
<tr align=left><th valign=top> Unit Name </th><th valign=top> Type </th><th valign=top> Description </th></tr>
<tr align=left><td valign=top><code> Alert </code></td><td valign=top> Subroutine </td><td valign=top> Composes threshold data in a table and color-codes based on alert levels </td></tr>
<tr align=left><td valign=top><code> alerthtm </code></td><td valign=top> Subroutine </td><td valign=top> Composes threshold data in a table and color-codes based on alert levels, creates html file </td></tr>
<tr align=left><td valign=top><code> arcsav </code></td><td valign=top> Subroutine </td><td valign=top> Writes rainfall threshold parameters to individual archive; file per station </td></tr>
<tr align=left><td valign=top><code> check_antMonth_antDay </code></td><td valign=top> Subroutine </td><td valign=top> Ensures that values used to reset antecedent months and days are meaningful </td></tr>
<tr align=left><td valign=top><code> check_AWI </code></td><td valign=top> Logical Function </td><td valign=top> Checks completeness of data relevant to the AWI </td></tr>
<tr align=left><td valign=top><code> check_SAT </code></td><td valign=top> Logical Function </td><td valign=top> Checks completeness of data relevant to the seasonal antecedent threshold </td></tr>
<tr align=left><td valign=top><code> check_switches </code></td><td valign=top> Subroutine </td><td valign=top> Ensures that multiple *Switch flags are not enabled </td></tr>
<tr align=left><td valign=top><code> count_events </code></td><td valign=top> Subroutine </td><td valign=top> Counts events of continuous exceedance of thresholds </td></tr>
<tr align=left><td valign=top><code> date_and_time </code></td><td valign=top> Subroutine </td><td valign=top> Extracts system month, day, year, minute, and second </td></tr>
<tr align=left><td valign=top><code> dgrs </code></td><td valign=top> Subroutine </td><td valign=top> Writes a file listing most recent conditions at all stations for plotting by commercial charting or spreadsheet software </td></tr>
<tr align=left><td valign=top><code> error1 </code></td><td valign=top> Subroutine </td><td valign=top> Condenses code in module getinfo.f90; standard error message that will print and exit thresh (used for errors when input values are smaller than the required lower bound) </td></tr>
<tr align=left><td valign=top><code> error2 </code></td><td valign=top> Subroutine </td><td valign=top> Condenses code in module getinfo.f90; standard error message that will print and exit thresh (used when input values for the antecedent months and days are incorrect) </td></tr>
<tr align=left><td valign=top><code> error3 </code></td><td valign=top> Subroutine </td><td valign=top> Condenses code in module getinfo.f90; standard error message that will print and exit thresh (used when the input values for duration and readings per hour are incompatible) </td></tr>
<tr align=left><td valign=top><code> gnp1 </code></td><td valign=top> Subroutine </td><td valign=top> Writes a tab-delimited file listing most recent conditions at all stations, using a different symbol for each station (default format) </td></tr>
<tr align=left><td valign=top><code> gnp2 </code></td><td valign=top> Subroutine </td><td valign=top> Saves most recent conditions at each station in a separate tab-delimited file for plotting by gnuplot </td></tr>
<tr align=left><td valign=top><code> gnpts </code></td><td valign=top> Subroutine </td><td valign=top> Writes rainfall threshold parameters to individual time-series plot; file per station </td></tr>
<tr align=left><td valign=top><code> gnpts1 </code></td><td valign=top> Subroutine </td><td valign=top> Writes rainfall threshold exceedance values to individual time-series plot; file per station </td></tr>
<tr align=left><td valign=top><code> ihr24 </code></td><td valign=top> Subroutine </td><td valign=top> Adjusts dates according to leap year </td></tr>
<tr align=left><td valign=top><code> imid </code></td><td valign=top> Integer Function </td><td valign=top> Extracts substring embedded in date and time character string </td></tr>
<tr align=left><td valign=top><code> read_init </code></td><td valign=top> Subroutine </td><td valign=top> Reads thresh_in.txt and assigns input parameters to associated variables in program thresh (also copies contents of thresh_in.txt to log file, ThreshLog.txt) </td></tr>
<tr align=left><td valign=top><code> read_interpolating_points </code></td><td valign=top> Subroutine </td><td valign=top> Contains duration and cumulative precipitation airs </td></tr>
<tr align=left><td valign=top><code> read_station_file </code></td><td valign=top> Subroutine </td><td valign=top> Reads from each station&#8217;s individual data file </td></tr>
<tr align=left><td valign=top><code> read_thlast </code></td><td valign=top> Subroutine </td><td valign=top> Reads Thlast.txt to obtain information about state of calculations at each station, including time of latest data collected and processed </td></tr>
<tr align=left><td valign=top><code> s1904t </code></td><td valign=top> Subroutine </td><td valign=top> Converts time and date data to the serial numbers used in subroutine s1904t </td></tr>
<tr align=left><td valign=top><code> set_poly_limits </code></td><td valign=top> Subroutine </td><td valign=top> Adjusts values of limits when polySwitch is set to true </td></tr>
<tr align=left><td valign=top><code> set_power_limits </code></td><td valign=top> Subroutine </td><td valign=top> Adjusts values of limits when powerSwitch is set to true </td></tr>
<tr align=left><td valign=top><code> tabl </code></td><td valign=top> Subroutine </td><td valign=top> Composes threshold data in a table </td></tr>
<tr align=left><td valign=top><code> tablhtm </code></td><td valign=top> Subroutine </td><td valign=top> Composes threshold data in a table, creates html file </td></tr>
<tr align=left><td valign=top><code> tindm </code></td><td valign=top> Subroutine </td><td valign=top> Writes rainfall threshold parameters to individual time-series plot; file per station </td></tr>
<tr align=left><td valign=top><code> titl </code></td><td valign=top> Subroutine </td><td valign=top> Outputs the title and purpose of the program to the screen </td></tr>
<tr align=left><td valign=top><code> track_intensity </code></td><td valign=top> Subroutine </td><td valign=top> Computes running average and antecedent storm intensity </td></tr>
<tr align=left><td valign=top><code> track_storm </code></td><td valign=top> Subroutine </td><td valign=top> Tracks the movement of a storm for precipitation and intensity </td></tr>
</table></center>
    </body>
</html>
